package com.codeZ.FactoryPattern.factoryMethod.factory.impl;

import com.codeZ.FactoryPattern.factoryMethod.factory.IFreeGoodsFactory;
import com.codeZ.FactoryPattern.factoryMethod.product.IFreeGoods;
import com.codeZ.FactoryPattern.factoryMethod.product.impl.SmallGiftFreeGoods;

/**
 * 小礼品具体工厂
 *
 * @author codeZhang
 * @Date 2024/8/1 14:45
 */
public class SmallGiftFreeGoodsFactory implements IFreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new SmallGiftFreeGoods();
    }
}
